package com.cake.entity.pojo;

import java.util.ArrayList;
import java.util.List;

import com.cake.entity.XxRole;

/**
 * 登录后放入session中的对象信息
 * @author Administrator
 *
 */
public class LoginAdminInfo {
	
	/**
	 * 用户主键
	 */
	private Long adminId;
	
	/**
	 * 用户拥有角色
	 */
	private List<XxRole> roles = new ArrayList<XxRole>();

	public Long getAdminId() {
		return adminId;
	}

	public void setAdminId(Long adminId) {
		this.adminId = adminId;
	}

	public List<XxRole> getRoles() {
		return roles;
	}

	public void setRoles(List<XxRole> roles) {
		this.roles = roles;
	}
	
}
